/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.sd.jxta;

import java.util.List;
import net.jxta.endpoint.Message;

/**
 *
 * @author SD
 */
public interface IPeer {

    public String getPeerName();

    public Message execute(Message msg);

    public Message searchFile(Message msg);

    public Message writeFile(Message msg);

    public void writeFile(List<Message> msgs);

    public Message time(Message msg);
}
